import request from '@/utils/request'

export function getExcelPath(param){
  return request({
    url: "/home/detail/list",
    method: "get",
    param: param,
  })
}

export function getCwDealPerDayExcel(param){
  return request({
    url: "/home/jinrong/getCwDealPerDayExcel",
    method: "post",
    data: param,
  })
}

export function getCwDealPerDayList(query){
  return request({
    url: "/home/jinrong/searchCwDealPerDayList",
    method: "post",
    data: query
  })
}

export function getGhPayMentPlan(query){
  return request({
    url: "/home/xy/getGhPayMentPlan",
    method: "post",
    data: query
  })
}

//合同选中 查询补全信息
export function getSFContractDteailSet(query){
  return request({
    url: "/home/xy/sFContractDteailSet",
    method: "post",
    data: query
  })
}

//收房合同查询  续约
export function getSearchSfListByXy(query){
  return request({
    url: '/home/xy/searchSfListByXy',
    method: 'post',
    params: query
  })
}

// 查询收房列表1
export function listContract(query) {
  return request({
    url: '/home/contract/list',
    method: 'get',
    params: query
  })
}

// 查询业主列表
export function ownerContract(query) {
  return request({
    url: '/home/contract/owner',
    method: 'get',
    params: query
  })
}


// 选择房产列表
export function xzfcContract(query) {
  return request({
    url: '/home/contract/xzfc',
    method: 'get',
    params: query
  })
}



// 选择银行列表
export function bankContract(query) {
  return request({
    url: '/home/contract/bank',
    method: 'get',
    params: query
  })
}

// 选择省级列表
export function regionContract(query) {
  return request({
    url: '/home/contract/region',
    method: 'get',
    params: query
  })
}


// 图片添加
export function addpicContract(query) {
  return request({
    url: '/home/contract/addpic',
    method: 'post',
    params: query
  })
}

// 生成合同计划
export function scfkjhContract(query) {
  return request({
    url: '/home/contract/scfkjh',
    method: 'get',
    params: query
  })
}

// 保存数据
export function baocunContract(query) {
  return request({
    url: '/home/contract/baocun',
    method: 'get',
    params: query
  })
}

